// 报修表单
const repairForm = {
  title: '报修数据',
  submit: {
    show: true,
    label: '提交维修'
  },
  fields: [
    {
      label: '报修部门',
      type: 'input',
      placeholder: '',
      key: '',
      value: '',
      hide: false,
      disable: false,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: '请选择资产所在部门'
      }
    },
    {
      label: '报修人员',
      type: 'input',
      placeholder: '',
      key: '',
      value: '',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: ''
      }
    },
    {
      label: '报修时间',
      type: 'input',
      placeholder: '',
      key: 'create_time',
      value: '',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: ''
      }
    },
    {
      label: '报修备注',
      type: 'textarea',
      placeholder: '请输入报修备注',
      key: 'rp_reason',
      value: '',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: false,
      extraData: {},
      rules: {
        required: true,
        message: '请输入报修备注'
      }
    },
    {
      label: '上传图片',
      type: 'uploader',
      placeholder: '只支持上传6张图片',
      key: 'rp_ri_url',
      value: [],
      hide: false,
      disable: false,
      isExtraData: true,
      ignore: false,
      extraData: [],
      rules: {
        required: true,
        message: '请上传图片'
      }
    }
  ]
};

export default repairForm;
